package com.chinasofti.generic;

public interface Generic02<T> {
    void show(T t);

}
class a<T> implements Generic02<T>{

    @Override
    public void show(T t) {
        System.out.println(t);
    }
}
class b implements Generic02<Integer>{

    @Override
    public void show(Integer integer) {
        System.out.println(integer);
    }
}
class c{
    public static void main(String[] args) {
        a<String> a = new a<>();
        a.show("asd");
        b b = new b();
        b.show(45);
    }
}
